$(function(){
	$(".refresh").hover(function(){
		$(this).removeClass("fa-spin");
	});
	$(".refresh").mouseout(function(){
		$(this).addClass("fa-spin");
	});
});
function loadDatas(gameId){
		$.ajax({
		type: "post",
		data: {"gameId":gameId},
		url: "playerDetailsInfo",
		beforeSend: function(){
			$("#load").css("display","block");
		},
		success: function(data){
			var msg=data[0];
			//console.log(msg);
			$("#load").css("display","none");
			
			$("#tgh").html(msg.GameID);//游戏推广号
			$(".nickName").html(msg.NickName);//游戏昵称
			$("#userid").html(msg.UserID);//游戏UserID
			$("#logName").html(msg.Accounts);//游戏登录名
			$("#regtime").html(msg.RegisterDate);//注册时间
			//注册IP
			var regIp = msg.RegisterIP;
			$.getScript('http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js&ip='+regIp, function(_result) {
				if (remote_ip_info.ret == '1') {
					var addr = " "+remote_ip_info.province + " " + remote_ip_info.city+" ";
					$("#regIp").html(regIp+" 【"+addr+"】");
				}else{
					$("#regIp").html(regIp+" 【无法解析该IP】");
				}
			});
			$("#lastLogTime").html(msg.LastLoginTime);//最后登陆时间
			//最后登陆IP
			var lastLoginIp = msg.LastLogonIP;
			$.getScript('http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js&ip='+lastLoginIp, function(_result) {
				if (remote_ip_info.ret == '1') {
					var addr = " "+remote_ip_info.province + " " + remote_ip_info.city+" ";
					$("#lastLogIp").html(lastLoginIp+" 【"+addr+"】");
				}else{
					$("#lastLogIp").html(lastLoginIp+" 【无法解析该IP】");
				}
			});
			
			//绑定手机
			var phone = msg.PhoneNum;
			if(phone.substring(0,1)=="1"){
				$("#phone").html(phone);
			}else{
				$("#phone").html("");
			}
			
			$("#zxsc").html(msg.TotalOnlineTime+"秒");//在线时长
			$("#score, #nowJb").html(msg.score);//金币
			$("#jq, #nowJq").html(msg.prizes);//奖券
			
			var zsy = "<span class='red'>"+msg.RealScore+"</span>，接收:<span class='red'>"+msg.receiveScore+"</span>，赠送:<span class='red'>"+msg.sendScore+"</span>";
			$("#zsy").html(zsy);//总输赢
			
			var businessMan = msg.Businessman;
			if(businessMan == "0"){
				businessMan = "否";
			}else if(businessMan == "1"){
				businessMan = "是";
			}
			
			var usertype = msg.usertype;
			if(usertype == "0"){
				usertype = "普通用户";
			}else if(usertype == "1"){
				usertype == "内部用户"
			}
			
			$("#zhlx").html(msg.PackName+"，VIP:"+businessMan+"，<font color='green'>"+msg.PlatformName+"</font>，"+usertype);//账号类型
			
			$("#cz").html(msg.cz+"元");//充值金额
			$("#czcs").html(msg.czcs);//充值次数
			var currentServerId = msg.CurrentServerId;
			var isonline = "";
			if(currentServerId == "0"){
				isonline = "大厅";
			}else if(currentServerId == "-1"){
				isonline = "离线";
			}else{
				isonline = msg.zx;
			}
			$("#isonline").html(isonline);//是否在线
			var lock = msg.lock;
			if(lock == "0"){
				$("#state").html("正常");//账号状态
			}else{
				$("#state").html("锁定");//账号状态
			}


			
			$("#jzhfcs").html(data.hitCount);//击中话费次数
			$("#jzhfje").html(data.hitMoney);//击中话费金额
			//console.log(data.dhMoney);
			$("#dhje").html(data.dhMoney == null ? 0 : data.dhMoney);//兑换金额
			$("#dhcs").html(data.dhCount);//兑换次数
			
			$("#khddlym").html(msg.LastLoginDomain);//客户端登录域名
			$("#zyym").html(msg.LastResDomain );//资源域名
			
			var yxkz = msg.HandCheat;
			var yxkzContent = "";
			if(yxkz == "0"){
				yxkzContent = "系统控制";
			}else if(yxkz == "1"){
				yxkzContent = "GM点控";
			}else if(yxkz == "2"){
				yxkzContent = "循环控制";
			}
			//作弊率
			var cheatRate = msg.CheatRate;
			
			var zbl = ""; 
			if(cheatRate>0){
				zbl = "，<b class='red'>玩家作弊</b>"
			}
			
			var LimitScore = msg.LimitScore;
			
			
//			if(LimitScore>0){
//				LimitScore = "，让玩家输<b class='red'>"+LimitScore+"</b>";
//			}else if(LimitScore<0){
//				LimitScore = "，让玩家赢<b class='red'>"+LimitScore+"</b>";
//			}else{
//				LimitScore = "";
//			}
			
			
			var CheatRate = "，作弊率为<b class='red'>"+cheatRate+"</b>";
			
			var xzStr = "";
			if(cheatRate > 0){
				xzStr = "，让玩家输<b class='red'>"+LimitScore+"</b>";
			}else if(cheatRate < 0){
				xzStr = "，让玩家赢<b class='red'>"+LimitScore+"</b>";
			}
			
			//修改作弊率弹框中的：当前输赢，和修改总输赢弹框中的：当前总输赢
			$("#nowSY, #nowZsy").html(msg.realScore);
			//修改作弊率弹框中的：当前作弊率
			$("#nowZbl").html(cheatRate);
			//修改作弊率弹框中的：当前作弊限额
			$("#nowZbxe").html(LimitScore);
			//修改作弊率弹框中的：当前作弊状态
			$("#nowZbzt").html(msg.bloodScore);
			
			//修改作弊率弹框中的：作弊增长值
			$("#xhzjz").val(msg.limitScoreRiseValue);
			//修改作弊率弹框中的：赢钱区间
			$("#minYqqj").val(msg.minWin);
			//修改作弊率弹框中的：赢钱区间
			$("#maxYqqj").val(msg.maxWin);
			//修改作弊率弹框中的：输钱区间
			$("#minSqqj").val(msg.minLose);
			//修改作弊率弹框中的：输钱区间
			$("#maxSqqj").val(msg.maxLose);
			
			var bloodScore = "，当前运行状态"+msg.bloodScore;
			
			$("#yxkz").html(yxkzContent+zbl+xzStr+CheatRate+bloodScore+"。");//游戏控制
			
			$("#sxgame").html(msg.RoomName);//首选游戏
		}
	});
}

/*
 * 
 * 修改作弊率相关函数     开始
 * 
 */

//打开修改作弊率的弹框
function openUpdateZblModal(){
	
	$("#updZBL").modal("show");
	
	//查询修改作弊方案
	$.ajax({
		type: "post",
		url: "../../../php/player/playerInfo/aboutZuoBiLv/loadControlCheat.php",
		success: function(msg){
			
			var datas = msg.records;
			
			var html = "";
			if(datas.length == 0){
				html = '<span style="position: relative; top: 30px;">暂无数据~</span>';
			}else{
				for(var i = 0; i < datas.length; i ++){
					html += "<div id='"+datas[i].id+"' ondblclick='chooseFangAn(this);'>"+datas[i].name+"</div>";
				}
			}
			
			$("#fangan").html(html);
			
		},
		error: function(msg){
			html = '<span style="position: relative; top: 30px;">加载失败！</span>';
		}
	});
	
}

//双击选择方案
function chooseFangAn(obj){
	var fId = $(obj).attr("id");
	
	$("#fangan div").removeClass("focusFangAn");
	$(obj).addClass("focusFangAn");
	
	//成功之后加载方案列表
	$.ajax({
		type: "post",
		data: {"id": fId},
		url: "../../../php/player/playerInfo/aboutZuoBiLv/loadControlCheatById.php",
		success: function(msg){
			
			//作弊率
			$("#newzbl").val(msg.cheatRate);
			//作弊限额
			$("#newzbxe").val(msg.limitScore);
			//循环增加值
			$("#xhzjz").val(msg.loopAddVal);
			//赢钱区间
			$("#minYqqj").val(msg.minWin);
			//赢钱区间
			$("#maxYqqj").val(msg.maxWin);
			//输钱区间
			$("#minSqqj").val(msg.minLose);
			//输钱区间
			$("#maxSqqj").val(msg.maxLose);
			
			//选中
			$("#xhLabel span").attr("class","fa fa-check-square-o");
			$("#type").val("1");
			$("#xhzjz, #minYqqj, #maxYqqj, #minSqqj, #maxSqqj").removeAttr("readonly");
			
		}
	});
}

//清空
function resetZbl(){
	
	//作弊率
	$("#newzbl").val("");
	//作弊限额
	$("#newzbxe").val("");
	//循环增加值
	$("#xhzjz").val("");
	//赢钱区间
	$("#minYqqj").val("");
	//赢钱区间
	$("#maxYqqj").val("");
	//输钱区间
	$("#minSqqj").val("");
	//输钱区间
	$("#maxSqqj").val("");
	
	$("#newzblChinese, #newzbxeChinese").html("");
	
	$("#xhzjz, #minYqqj, #maxYqqj, #minSqqj, #maxSqqj").attr("readonly","readonly");
	
	$("#xhLabel span").attr("class","fa fa-square-o");
	$("#type").val("0");
	
	$("#fangan div").removeClass("focusFangAn");
}

//确定修改
function subUpdZBL(){
	
	var type = $("#type").val();//类型（0:表不循环点控玩家 1：表示循环点控玩家） 
	var userId = $("#userid").text();//用户id
	var newzbl = $("#newzbl").val();//新作弊率
	var newzbxe = $("#newzbxe").val();//新作弊限额
	
//	var controlType = $("#fangan div[class='focusFangAn']").attr("id");//控制方案ID（控制类型）
	
	
	if(newzbl == ""){
		$("#newzbl").css("border","1px solid red");
		$("#zblError").css("display","block");
	}else{
		$("#newzbl").css("border","");
		$("#zblError").css("display","none");
	}
	
	if(newzbxe == ""){
		$("#newzbxe").css("border","1px solid red");
		$("#zbxeError").css("display","block");
	}else{
		$("#newzbxe").css("border","");
		$("#zbxeError").css("display","none");
	}
	
	
	if(type == 0){//不循环控制，则不需要判断下面几个的值
		
		$("#xhzjz, #minYqqj, #maxYqqj, #minSqqj, #maxSqqj").css("border","");
		$("#xhzjzError, #yqqjError, #sqqjError").css("display","none");
		
		if(newzbl != "" && newzbxe != ""){
			
//			alert("type:"+type+"; userId: "+userId+"; newzbl: "+newzbl+"; newzbxe: "+newzbxe);
			subParams(type, userId, newzbl, newzbxe, 0, 0, 0, 0, 0);
			
		}
		
	}else if(type == 1){//循环控制，需要判断下面几个的值
		
		var xhzjz = $("#xhzjz").val();//循环增加值
		var minYqqj = $("#minYqqj").val();//赢钱区间
		var maxYqqj = $("#maxYqqj").val();//赢钱区间
		var minSqqj = $("#minSqqj").val();//输钱区间
		var maxSqqj = $("#maxSqqj").val();//输钱区间
		
		if(xhzjz == "" || isNaN(xhzjz)){
			$("#xhzjz").css("border","1px solid red");
			$("#xhzjzError").css("display","block");
		}else{
			$("#xhzjz").css("border","");
			$("#xhzjzError").css("display","none");
		}
		
		if(minYqqj == "" || isNaN(minYqqj)){
			$("#minYqqj").css("border","1px solid red");
			$("#yqqjError").css("display","block");
		}else{
			$("#minYqqj").css("border","");
			$("#yqqjError").css("display","none");
		}
		
		if(maxYqqj == "" || isNaN(maxYqqj)){
			$("#maxYqqj").css("border","1px solid red");
			$("#yqqjError").css("display","block");
		}else{
			$("#maxYqqj").css("border","");
			$("#yqqjError").css("display","none");
		}
		
		if(minSqqj == "" || isNaN(minSqqj)){
			$("#minSqqj").css("border","1px solid red");
			$("#sqqjError").css("display","block");
		}else{
			$("#minSqqj").css("border","");
			$("#sqqjError").css("display","none");
		}
		
		if(maxSqqj == "" || isNaN(maxSqqj)){
			$("#maxSqqj").css("border","1px solid red");
			$("#sqqjError").css("display","block");
		}else{
			$("#maxSqqj").css("border","");
			$("#sqqjError").css("display","none");
		}
		
		if(
			newzbl != "" && newzbxe != "" &&
			xhzjz != "" && !isNaN(xhzjz) &&
			minYqqj != "" && !isNaN(minYqqj) &&
			maxYqqj != "" && !isNaN(maxYqqj) && 
			minSqqj != "" && !isNaN(minSqqj) &&
			maxSqqj != "" && !isNaN(maxSqqj)
		){
//			alert("type:"+type+"; userId: "+userId+"; newzbl: "+newzbl+"; newzbxe: "+newzbxe
//			+"; xhzjz: "+xhzjz+"; minYqqj: "+minYqqj+"; maxYqqj: "+maxYqqj+"; minSqqj: "+minSqqj+"; maxSqqj: "+maxSqqj);
			subParams(type, userId, newzbl, newzbxe, xhzjz, minYqqj, maxYqqj, minSqqj, maxSqqj);
		}
		
	}
	
	
}

//提交修改参数
function subParams(type, userId, newzbl, newzbxe, xhzjz, minYqqj, maxYqqj, minSqqj, maxSqqj){
	//提交数据
	$.ajax({
		type: "post",
		data: {
			"type": type,
			"userId": userId,
			"newzbl": newzbl,
			"newzbxe": newzbxe,
			"xhzjz": xhzjz,
			"minYqqj": minYqqj,
			"maxYqqj": maxYqqj,
			"minSqqj": minSqqj,
			"maxSqqj": maxSqqj
		},
		url: "../../../php/player/playerInfo/updateZuoBiLv.php",
		beforeSend: function(){
			$("#load").css("display","block");
		},
		success: function(msg){
			$("#load").css("display","none");
			if(msg == "1"){
				$("#updZBL").modal("hide");
				$("#tishi").modal("show");
				$("#load").css("display","block");
			}else{
				alert(msg);
			}
		}
	});
}

//选择是否循环控制
function checkXh(){
	var cla = $("#xhLabel span").attr("class");
	if(cla.indexOf("fa-square-o") != -1){
		$("#xhLabel span").attr("class","fa fa-check-square-o");
		$("#xhzjz, #minYqqj, #maxYqqj, #minSqqj, #maxSqqj").removeAttr("readonly");
		$("#type").val("1");
	}else{
		$("#xhLabel span").attr("class","fa fa-square-o");
		$("#xhzjz, #minYqqj, #maxYqqj, #minSqqj, #maxSqqj").attr("readonly","readonly");
		$("#type").val("0");
	}
}

//新作弊率数字转汉字
function newzblToChinese(obj){
	numToChinese($("#newzblChinese"), $(obj).val());
}

//作弊限额数字转汉字
function newzbxeToChinese(obj){
	numToChinese($("#newzbxeChinese"), $(obj).val());
}

/*
 * 
 * 修改作弊率相关函数     开始
 * 
 */


/*
 * 
	增加/扣除金币
	增加/扣除奖券
	开始
 * 
 */
//打开modal
function openUpdateJbOrJqWindow(n){
	
	if(n == 1){//修改金币
		$("#updJbOrJqTitle").html("增加/扣除金币");//modal标题
		$("#beforeUpd").html("当前金币:");
		$("#nowJb").css("display","block");
		$("#nowJq").css("display","none");
		$("#n").val(n);//修改标识（1：修改金币；2：修改奖券）
		$("#afterUpd").html("修改后金币:");
	}else if(n == 2){//修改奖券
		$("#updJbOrJqTitle").html("增加/扣除奖券");//modal标题
		$("#beforeUpd").html("当前奖券:");
		$("#nowJq").css("display","block");
		$("#nowJb").css("display","none");
		$("#n").val(n);//修改标识（1：修改金币；2：修改奖券）
		$("#afterUpd").html("修改后奖券:");
	}
	
	$("#updJbOrJqModal").modal("show");
}
//取消修改金币或者奖券
function cannelUpdJbOrJq(){
	$("#updJbOrJqModal").modal("hide");//隐藏修改框
	$("#updJbOrJqTitle").html("");//清空modal标题
	$("#beforeUpd").html("");//清空当前数值的标题
	$("#nowJb").css("display","none");//隐藏当前金币
	$("#nowJq").css("display","none");//隐藏当前奖券
	$("#n").val("");//清空修改标识
	$("#afterUpd").html("");//清空修改后数值标题
	$("#afterUpdJbOrJq").text("0");//清空修改后的数值
	$("#newValue, #fzType, #beizhu").val("").css("border","");//初始化用户输入框
	$("#jbError, #bzError, #fzError").css("display","none");//隐藏输入框错误提示
	
	$("#ChineseNum").html("");//清空中文数字
}

//运算修改后的金币或者奖券数
function Compute(){
	
	var n = $("#n").val();//修改标识（1：修改金币；2：修改奖券）
	var ysf = $("#ysf").val();//得到运算符
	var newValue = $("#newValue").val();//得到修改的值
	
	//数字转中文
	numToChinese($("#ChineseNum"), newValue);
	
	if(newValue == ""){
		newValue = 0;
	}else{
		newValue = parseInt(newValue);
	}
	
	
	var result = 0;
	if(n == "1"){//修改金币
		var nowJb = parseInt($("#nowJb").text());//当前金币
		if(ysf == "+"){
			result = nowJb + newValue;
		}else if(ysf == "-"){
			result = nowJb - newValue;
		}
	}else if(n == "2"){//修改奖券
		var nowJq = parseInt($("#nowJq").text());//当前奖券
		if(ysf == "+"){
			result = nowJq + newValue;
		}else if(ysf == "-"){
			result = nowJq - newValue;
		}
	}
	
	$("#afterUpdJbOrJq").html(result).attr("title",result);
	
}
//修改金币 或者 奖券
function updateJbOrJq(){
	var userId = $("#userid").text();//用户id
	var n = $("#n").val();//修改标识（1：修改金币；2：修改奖券）
	var ysf = $("#ysf").val();//得到运算符
	
	var fzType = $("#fzType").val();//操作类型
	var newValue = $("#newValue").val();//得到修改的值
	var beizhu = $.trim($("#beizhu").val());//得到备注的值
	
	if(newValue=="" || newValue==0){
		$("#newValue").css("border","1px solid red");
		$("#jbError").css("display","block");
	}else{
		$("#newValue").css("border","");
		$("#jbError").css("display","none");
	}
	if(fzType==""){
		$("#fzType").css("border","1px solid red");
		$("#fzError").css("display","block");
	}else{
		$("#fzType").css("border","");
		$("#fzError").css("display","none");
	}
	if(beizhu==""){
		$("#beizhu").css("border","1px solid red");
		$("#bzError").css("display","block");
	}else{
		$("#beizhu").css("border","");
		$("#bzError").css("display","none");
	}
	
	if(newValue != "" && fzType!="" && beizhu!=""){
		//大于0为减，小于0为增
		if(ysf == "+"){
			newValue = "-" + newValue;
		}
		
		$.ajax({
			type: "post",
			data: {"userId":userId, "newValue":newValue, "fzType":fzType, "beizhu":beizhu, "n":n},
			url: "../../../php/player/playerInfo/updateScoreOrLottery.php",
			beforeSend: function(){
				$("#load").css("display","block");
			},
			success: function(msg){
				$("#load").css("display","none");
				if(msg == "1"){
					$("#updJbOrJqModal").modal("hide");
					$("#tishi").modal("show");
				}else{
					alert(msg);
				}
			}
		});
	}
}

/*
 * 
	增加/扣除金币
	增加/扣除奖券
	结束
 * 
 */

/*
 * 开始
 * 锁定用户
 * 解锁用户
 * 开始
 */
//判断该用户是否被锁定
function isLock(gameId){
	$.ajax({
		type: "post",
		data: {"gameId":gameId},
		url: "/player/playerinfo/islock",
		beforeSend: function(){
			$("#load").css("display","block");
		},
		success: function(msg){
			$("#load").css("display","none");
			if(msg == "0"){//未锁定
				$("#lockBtn").html('<button class="btn btn-sm btn-success" onclick="lockOrUnlockUser(1)">锁定该账号</button>');
			}else if(msg == "1"){//被锁定
				$("#lockBtn").html('<button class="btn btn-sm btn-primary" onclick="lockOrUnlockUser(0)">解除锁定</button>');
			}
		}
	});
}
//锁定 和 解锁用户
function lockOrUnlockUser(type){
	if(type == 0){//解锁用户
		$("#lockTitle").html("解锁用户");
	}else if(type == 1){//锁定用户
		$("#lockTitle").html("锁定用户");
	}
	$("#lockType").val(type);
	
	$("#lockOrUnlockUser").modal("show");
}
//提交
function subLockUser(gameId){
	var type = $("#lockType").val();
	var memo = $.trim($("#memo").val());
	
	if(memo == ""){
		$("#lockError").css("display","block");
		$("#memo").css("border","1px solid red");
	}else{
		$("#lockError").css("display","none");
		$("#memo").css("border","");
		
		$.ajax({
			type: "post",
			data: {"gameId":gameId, "type":type, "memo":memo},
			url: "../../../php/player/playerInfo/lockOrUnlockUser.php",
			beforeSend: function(){
				$("#load").css("display","block");
			},
			success: function(msg){
				$("#load").css("display","none");
				if(msg == "1"){
					
					cancelLock();
					
					$("#tishi").modal("show");
					
				}else{
					alert(msg);
				}
			}
		});
	}
}
//取消锁定、解锁用户操作
function cancelLock(){
	$("#lockTitle").html("");//初始化弹框标题
	$("#lockType").val("");//初始化类型
	$("#lockError").css("display","none");//隐藏错误提示
	$("#memo").val("").css("border","");//初始化准备输入项
	$("#lockOrUnlockUser").modal("hide");//隐藏弹框
}
/*
 * 结束
 * 锁定用户
 * 解锁用户
 * 结束
 */

//重置密码
function subResetPwd(gameId){
	$.ajax({
		type: "post",
		data: {"gameId":gameId},
		url: "../../../php/player/playerInfo/resetUserPwd.php",
		beforeSend: function(){
			$("#load").css("display","block");
		},
		success: function(msg){
			$("#load").css("display","none");
			if(msg == "1"){
				$("#resetPwdModal").modal("hide");
				$("#tishi").modal("show");
			}else{
				alert(msg);
			}
		}
	});
}


//运算修改后的总输赢
function ComputeZsy(){
	
	var newValue = $("#zsy_newValue").val();//得到修改的值
	
	//数字转中文
	numToChinese($("#zsyChineseNum"), newValue);
	
}
//修改总输赢
function updateZsy(){
	var userId = $("#userid").text();//用户id
	var ysf = $("#zsy_ysf").val();//得到运算符
	
	var type = $("#zsyType").val();//操作类型
	var realScore = $("#zsy_newValue").val();//得到修改的值
	var beizhu = $.trim($("#UpdZsyMemo").val());//得到备注的值
	
	if(type==""){
		$("#zsyType").css("border","1px solid red");
		$("#zsyTypeError").css("display","block");
	}else{
		$("#zsyType").css("border","");
		$("#zsyTypeError").css("display","none");
	}
	
	if(realScore=="" || isNaN(realScore)){
		$("#zsy_newValue").css("border","1px solid red");
		$("#zsy_Error").css("display","block");
	}else{
		$("#zsy_newValue").css("border","");
		$("#zsy_Error").css("display","none");
	}
	
	if(beizhu==""){
		$("#UpdZsyMemo").css("border","1px solid red");
		$("#memoError").css("display","block");
	}else{
		$("#UpdZsyMemo").css("border","");
		$("#memoError").css("display","none");
	}
	
	if(realScore != "" && !isNaN(realScore) && type!="" && beizhu!=""){
//		alert("userId: "+userId+"; ysf: "+ysf+"; type: "+type+"; newVal: "+realScore+"; beizhu: "+beizhu+";");
		$.ajax({
			type: "post",
			data: {"userId":userId, "realScore":realScore, "type":type, "beizhu":beizhu},
			url: "../../../php/player/playerInfo/updateRealScore.php",
			beforeSend: function(){
				$("#load").css("display","block");
			},
			success: function(msg){
				$("#load").css("display","none");
				if(msg == "1"){
					cannelUpdateZsy();
					$("#tishi").modal("show");
				}else{
					alert(msg+123);
				}
			}
		});
	}
}

//取消修改总输赢
function cannelUpdateZsy(){
	$("#zsyType, #zsy_newValue, #UpdZsyMemo").css("border","").val("");
	$("#zsyTypeError, #zsy_Error, #memoError").css("display","none");
	$("#updShuYingModal").modal("hide");
}
